<?php

declare (strict_types=1);
namespace App\Models\GameDB\LotteryCrystal;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
 * @property int $id 
 * @property string $name 
 * @property string $tag 
 * @property string $type 
 * @property int $count 
 * @property int $input 
 * @property int $output 
 * @property int $coin 
 * @property int $total_coin 
 * @property int $counter 
 * @property int $random 
 * @property int $is_open 
 * @property Carbon $created_at
 * @property Carbon $updated_at
 */
class LotteryCrystalPool extends Model
{
    protected $connection = 'mysql_game';
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'lottery_crystal_pool';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    // protected $fillable = [];
    protected $guarded = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'count' => 'integer', 'input' => 'integer', 'output' => 'integer', 'coin' => 'integer', 'total_coin' => 'integer', 'counter' => 'integer', 'random' => 'integer', 'is_open' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];

    public function getDateFormat(): string
    {
        return 'Y-m-d H:i:s.u';
    }
}